import request from '/@/utils/request'

/**
 * 分页查询字典项
 * @param data 
 * @returns 
 */
export const dictItemPage = (data: any) =>{
  return request.post('/sys/dictItem/page',data)
}
/**
 * 字典项详情
 * @param data 
 * @returns 
 */
export const dictItemDetail = (data: any) =>{
  return request.post('/sys/dictItem/detail',data)
}
/**
 * 添加字典项
 * @param data 
 * @returns 
 */
export const dictItemSave = (data: any) =>{
  return request.post('/sys/dictItem/save',data)
}
/**
 * 修改字典项
 * @param data 
 * @returns 
 */
export const dictItemUpdate = (data: any) =>{
  return request.post('/sys/dictItem/update',data)
}